IBM Books

MRS V3.4 Protocol Reference V2


Configuring and Monitoring IPv6

This chapter describes how to use the IPv6 configuration and operating commands and includes the following sections:


Accessing the IPv6 Configuration Environment

Use the following procedure to access the IPv6 configuration process.

  1. At the OPCON prompt, enter talk 6. (For more detail on this command, refer to The OPCON Process and Commands in the Software User's Guide.) For example:
        * talk 6
        Config>
     
    

    After you enter the talk 6 command, the CONFIG prompt (Config>) displays on the terminal. If the prompt does not appear when you first enter configuration, press Return again.

  2. At the CONFIG prompt, enter the p ipv6 command to get to the IPv6 Config> prompt.

IPv6 Configuration Commands

To configure IPv6, enter the commands at the IPv6 Config> prompt.


Table 113. IPv6 Configuration Command Summary
 Command   Function 
? (Help) Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help".
 add   Adds an address, leaked-routes, packet-filter, route, or tunnel. 
 change   Changes an address, leaked routes, packet-filter, route, or tunnel. 
 delete   Deletes an address, leaked routes, packet filter, route, or tunnel. 
 disable   Disables icmp redirects, packet filter, or path MTU discovery. 
 enable   Enables ICMP redirects, packet filters, or path MTU discovery. 
 list   Lists the configuration. 
 move   Moves access control. 
 set   Sets configuration values associated with automatic tunnels, fast forwarding path cache buffer size, default gateway, MLD, path MTU aging timer, packet reassembly buffer size, routing table size, router id, and router time to live. 
 update   Updates the packet filter. 
Exit Returns you to the previous command level. See "Exiting a Lower Level Environment".

Add

Use the add command to add an IPv6 address, leaked routes, packet filters, routes, or IPv6 over IPv4 tunnels.

add
acess-control
address net address prefix
leaked-routesdestination
packet-filter name interface
route destination mask gateway cost ...
tunnel destination prefix raddress locaddress cost ttl fragmentation

Example:

IPv6 config>add address
Which net is this address for [0]? 5
New address []? 1::2
Prefix length must between 8 and 128 [128]? 
 
IPv6 config>add leaked
IPV4 destination []? 1.2.3.4
Address mask [255.0.0.0]? 255.255.255.255
 
IPv6 config>add packet-filter
Packet-filter name []?  pktf01
Filter incoming or outgoing traffic [IN]
Which interface is this filter for [0]? 3
 
IPv6 config>add route
IPv6 destination []? 8::9
Prefix length must between 8 and 128 [8]? 128
Via gateway 1 at []? 1::2
Cost [1]? 
Via gateway 2 at []? 2::3
Cost [1]? 1000
Via gateway 3 at []? 3::4
Cost [1]? 10000
Via gateway 4 at []? 4::5
Cost [1]? 10
IPv6 config>add tunnel
Add a static route through this tunnel? [Yes[:
IPv6 destination network []? 3::4
Prefix length must between 0 and 128 [64]? 128
IPV4 tunnel remote address []?1.2.3.4
IPV4 tunnel local address []? 2.3.40.0
Cost [1]? 
TTL value [64]? 
Allow fragmentation in tunnel?(Yes or [No]): 

access-control
Adds access control.

access control type
Indicates what is done with packets that match the access control rule parameters.

E
Exclusive; matching packets are discarded.

I
Inclusive; matching packets are processed further by the router.

Internet source
Source Internet address.

Valid Values: Any valid Internet address

Default Values: None

Source Prefix length
Specifies the prefix length for the Internet source address.

Valid Values: 0 - 128

Default Values: 128

Internet destination
Destination Internet address.

Valid Values: Any valid Internet address

Default Value: None

Destination Prefix length
Specifies the prefix length for the Internet destination address.

Valid Values: 0 - 128

Default Values: 128

Starting protocol number
Specifies the starting protocol number for a range of protocol numbers. Enter a value of 0 to select all protocols.

Some common protocol numbers are:

1 for ICMP
6 for TCP
17 for UDP
89 for OSPF
50 for ESP-Encryption
51 for AH-Encryption

Valid Values: 0 to 255

Default Values: 0

Ending protocol number
Specifies the ending protocol number for a range of protocol numbers. Enter a value of 0 to select all protocols.

Some common protocol numbers are:

1 for ICMP
6 for TCP
17 for UDP
89 for OSPF
50 for ESP-Encryption
51 for AH-Encryption

Valid Values: 0 to 255

Default Values: the value specified as the starting protocol number

Starting destination port number
Specifies the starting port number for a range of TCP/UDP destination port numbers. These parameters are valid only if the range of protocol numbers includes 6 (for TCP) or 17 (for UDP). These parameters are ignored for packets in which the protocol number is not 6 or 17.

Some commonly used port numbers are:

21 for FTP
23 for Telnet
25 for SMTP
513 for rlogin
520 for RIP for IPv4
521 for RIP6 for IPv6

Valid Values: 0 - 65535

Default Value: 0

Ending destination port number
Specifies the ending port number for a range of TCP/UDP destination port numbers. These parameters are valid only if the range of protocol numbers includes 6 (for TCP) or 17 (for UDP). These parameters are ignored for packets in which the protocol number is not 6 or 17.

Some commonly used port numbers are:

21 for FTP
23 for Telnet
25 for SMTP
513 for rlogin
520 for RIP for IPv4
521 for RIP6 for IPv6

Valid Values: 0 - 65535

Default Value: the value specified as the starting destination port number

Starting source port number
Specifies the starting port number for a range of TCP/UDP source port numbers. These parameters are valid only if the range of protocol numbers includes 6 (for TCP) or 17 (for UDP). These parameters are ignored for packets in which the protocol number is not 6 or 17. See the description of starting destination port number for a list of commonly used TCP/UDP port numbers.

Valid Values: 0 - 65535

Default Value: 0

Ending source port number
Specifies the ending port number for a range of TCP/UDP source port numbers. These parameters are valid only if the range of protocol numbers includes 6 (for TCP) or 17 (for UDP). These parameters are ignored for packets in which the protocol number is not 6 or 17. See the description of starting destination port number for a list of commonly used TCP/UDP port numbers.

Valid Values: 0 - 65535

Default Value: the value specified as the starting source port number

address
Adds an IPv6 address.

Which net is this address for
Specifies the net to which the IPv6 address is to be added.

Valid Values: A numeric value identifying a network interface

Default Value: 0

New address
Specifies the new IPv6 address to be added.

Valid Values: Any valid IPv6 address

Default Value: None

Prefix length
Decimal value specifying how many of the leftmost contiguous bits of the address comprise the prefix.

Valid Values: 8 - 128

Default Value: 128

leaked-routes
Adds a leaked route.

IPV4 destination
Specifies the IPv6 address of the destination for the leaked route.

Valid Values: Any valid IPv6 address

Default Value: None

packet-filter
Adds a packet-filter.

packet-filter name
Specifies an alphanumeric name used to identify the packet filter.

Valid Values: Any alphanumeric character string up to 16 characters in length

Default Value: None

Filter incoming or outgoing traffic?
Specifies whether you want to filter incoming or outgoing traffic.

Valid Values: OUT or IN

Default Value: IN

which interface is this filter for
Specifies the network interface number to which the packet filter is to be added.

Valid Values: A numeric value identifying any interface for which IPv6 is a valid protocol, or "a", which specifies that this filter is for the automatic tunnel.

Default Value: 0

route
Adds a route.

IPv6 destination
Specifies the IPv6 address of the target for the route.

Valid Values: Any valid IPv6 address

Default Value: None

Prefix length
Specifies the mask to be applied to the destination address.

Valid Values: 8 - 128 (0 is allowed if the IPv6 destination is 0::0)

Default Value: 8

Via gateway 1
Specifies the IPv6 address of the gateway 1.

Valid Values: Any valid IPv6 address

Default Value: None

Cost
Specifies the cost of this route.

Valid Values: A numeric value

Default Value: 1

Via gateway 2
Specifies the IPv6 address of the gateway 2.

Valid Values: Any valid IPv6 address

Default Value: None

Cost
Specifies the cost of this route.

Valid Values: A numeric value

Default Value: 1

Via gateway 3
Specifies the IPv6 address of the gateway 3.

Valid Values: Any valid IPv6 address

Default Value: None

Cost
Specifies the cost of this route.

Valid Values: A numeric value

Default Value: 1

Via gateway 4
Specifies the IPv6 address of the gateway 4.

Valid Values: Any valid IPv6 address

Default Value: None

Cost
Specifies the cost of this route.

Valid Values: A numeric value

Default Value: 1

tunnel
Adds a tunnel.

Add a static route through this tunnel?
Specifies whether or not the tunnel will have a static route defined.

Valid Values: Yes or No

Default Value: Yes

IPv6 destination network
Specifies the IPv6 address of the destination network that will be reached by the tunnel.

Valid Values: Any valid IPv6 address

Default Value: None

Prefix length
Decimal value specifying how many of the leftmost contiguous bits of the IPv6 address comprise the prefix.

Valid Values: 8 - 128

Default Value: 64

IPv4 tunnel remote address
Specifies the IPv4 address for the IPv6 frames passed through the tunnel.

Valid Values: Any valid IP (32-bit) address

Default Value: None

IPv4 tunnel local address
Specifies the IPv4 source address for the IPv6 frames passed through the tunnel.

Valid Values: Any valid IP (32-bit) address

Default Value: None

Cost
Specifies the cost associated with the tunnel which will be used during route lookups to find the best route to the destination.

Valid Values: 1 - 255

Default Value: 1

TTL value
Specifies the time-to-live value used in frames encapsulated for this tunnel

Valid Values: Any numeric value in the range of 1 - 255

Default Value: 64

Allow fragmentation in the tunnel?
Specifies whether the fragmentation in the tunnel will be allowed. Specifying yes allows fragmentation in the tunnel in case the IPv4 network that the tunnel is using does not provide enough information to allow the device to return a "Packet Too Big" message to the IPv6 host.

Valid Values: yes or no

Default Value: no

Change

Use the change command to add an access control record, IPv6 address, leaked routes, packet filters, routes, or tunnels.

Syntax:

change
access-control index
address net address prefix
leaked-routesdestination
packet-filter name interface
route destination mask gateway cost ...
tunnel destination prefix raddress locaddress cost ttl fragmentation

access-control
Changes access control configuration.

address
Changes an address.

leaked-routes
Changes a leaked route configuration.

packet-filter
Changes a packet filter configuration.

route
Changes a route configuration.

tunnel
Changes a tunnel configuration.

See "Add" for a description of the parameters associated with the change command.

Delete

Use the delete command to remove an access control record, address, leaked-routes, packet filter, route or tunnel.

Syntax:

delete
access-control index
address address
leaked-routes destination
packet-filter name
route destination mask gateway
tunnel tunnel#

Disable

Use the disable command to disable ICMP redirect, packet filters, and path MTU discovery.

Syntax:

disable
icmp-redirect address
packet-filter packet-filter-name
path-mtu-discovery

icmp-redirect
Disables ICMP redirects.

packet-filter
Disables a packet-filter.

packet-filter name
Specifies the name of the packet filter to be disabled.

Valid Values: Any configured packet filter

Default Value: None

path-mtu-discovery
Disables Path MTU Discovery.

Enable

Use the enable command to enable ICMP redirects, packet filters, or path MTU discovery.

Syntax:

enable
icmp-redirect address
packet-filter packet-filter-name
path-mtu-discovery

icmp-redirect
Enables ICMP redirects.

interface address
Specifies the interface address.

Valid Values: Any valid IPv6 address

Default Value: Null (specifies all addresses)

packet-filter
Enables a packet-filter.

packet-filter name
Specifies the name of the packet-filter to be enabled. This name is configured using the add packet-filter command.

Valid Values: Any valid IPv6 address

Default Value: None

path-mtu-discovery
Enables Path MTU Discovery, a protocol that allows a host node to determine the maximum size packet that will traverse a path to a destination without fragmentation.

List

Use the list command to display the IPv6 configuration.

Syntax:

list
all
access-control
addresses
icmp-redirect
leaked-routes
mld
packet-filter
routes
sizes
tunnels

Example:

IPv6 config>list all
Interface addresses
IPv6 addresses for each interface:
   intf  0                                     IP disabled on this interface
   intf  1                                     IP disabled on this interface
   intf  2                                     IP disabled on this interface
   intf  3                                     IP disabled on this interface
   intf  4                                     IP disabled on this interface
   intf  5   1234:1234:1234:1234:5234:6234:7234:8234/128
             1223::7:1234/8
Router-ID: 1::9 
Internal IP address: 1::8
 
Routing
 
route to: 1234::1223/128 
     via: 1234:0:9::8                             cost: 100
     via: 1234:0:9:8:8:7:6:8                      cost: 232
     via: 1:2:3:4:5:6:7:8                         cost: 1
     via: 8:7:6:5:4:3:2:1                         cost: 1
route to: ::/0 
     via: 1::8                                    cost: 100
route to: 2::8:9/8 
     via: 1::8                                    cost: 1
 
 
 
Path MTU Discovery:  disabled
Path MTU Aging Timer:  10 minutes
 
 
Access Control is:   enabled 
 
IPv6 config>list addresses
IPv6 addresses for each interface:
   intf  0                                     IP disabled on this interface
   intf  1                                     IP disabled on this interface
   intf  2                                     IP disabled on this interface
   intf  3                                     IP disabled on this interface
   intf  4                                     IP disabled on this interface
   intf  5   1234:1234:1234:1234:5234:6234:7234:8234/128
             1223::7:1234/8
Router-ID: 1::9 
Internal IP address: 1::8
IPv6 config>list icmp-redirect
ICMP Redirect generation for IP interface:
   intf  0                                     IP disabled on this interface
   intf  1                                     IP disabled on this interface
   intf  2                                     IP disabled on this interface
   intf  3                                     IP disabled on this interface
   intf  4                                     IP disabled on this interface
   intf  5   1234:1234:1234:1234:5234:6234:7234:8234/128 ICMP Redirect enabled
                                       1223::7:1234/8 ICMP Redirect enabled
   intf  6                                     IP disabled on this interface
   intf  7                                     IP disabled on this interface
 
IPv6 config>list leaked-routes
#  IPv4 Address     Mask 
IPv6 config>list mld
Net      Query Interval      Response Interval      Leave Query Interval
             (secs)                (secs)                   (secs)
---      --------------      -----------------      --------------------
 
 5            125                    10                      1         
 
IPv6 config>list packet-filter
 
List of packet-filter records:
 
Name               Interface   State 
packet01           0           On     
pack01             5           On     
Access Control is: enabled
IPv6 config>list routes
 
route to: 1234::1223/128 
     via: 1234:0:9::8                             cost: 100
     via: 1234:0:9:8:8:7:6:8                      cost: 232
     via: 1:2:3:4:5:6:7:8                         cost: 1
     via: 8:7:6:5:4:3:2:1                         cost: 1
route to: ::/0 
     via: 1::8                                    cost: 100
route to: 2::8:9/8 
     via: 1::8                                    cost: 1
 
IPv6 config>list sizes
 
Routing table size: 768 nets (79872 bytes)
Reassembly buffer size: 12000 bytes
Routing cache size: 64 entries
Time to live: 64
Path MTU aging timer: 10
 
IPv6 config>list tunnel
Tun#  Remote Endpoint  Local Endpoint   Frag Allowed   TTL  Cost Net#  IPv6 Address/Prefix
 1    1.2.3.4          2.3.4.5               No        100    100  7   1:2:3:4:5:6:7:8/128
IPv6 config>

Move

Use the move command to change the order of configured access control records.

Syntax:

move
access-control

Index of control to move
Select the index number of the access control record you want to move.

Move record AFTER record number
Select the index number of the access control record you want this record to follow.

Are you sure that this is what you want to do
Allows you to confirm that the move instruction is correct.

Set

Use the set command to set configuration parameters.

Syntax:

set
access-control
automatic-tunnel-parameters ttl fragmentation hopcount
cache-size #entries
default ...
internal-ip-address
mld ...
path-mtu-aging-timer
reassembly-size
router-id
routing #nets
ttl

Example:

IPv6 config>set au
TTL value [64]? 
Allow fragmentation in tunnel?(Yes or [No]): 
 
IPv6 config>set ca
number of cache entries [64]? 
 
IPv6 config>set mld query-interval
Network interface [0]? 5
New Query Interval (in secs) [125]? 
 
IPv6 config>set mld response-interval
Network interface [0]? 5
New Response Interval (in secs) [10]?
 
IPv6 config>set mld robust
Network interface [0]? 5
New Robustness Variable [2]?
IPv6 config>set mld leave
Network interface [0]? 
New Leave Interval (in secs) [1]? 
IPv6 config>?

access-control
Specifies whether access control is enabled or disabled.

Valid Values: on or off

Default Value: off

automatic-tunnel-parameters
Specifies the tunnel parameter values for automatic tunnels that flow through the router.

ttl value
Specifies the time-to-live value for the frames encapsulated for the tunnel.

Valid Values:

Default Value: 64

allow fragmentation in tunnel?
Specifies whether the fragmentation in the tunnel will be allowed. Specifying yes allows fragmentation in the tunnel in case the IPv4 network that the tunnel is using does not provide enough information to allow the device to return a "Packet Too Big" message to the IPv6 host.

Valid Values: yes or no

Default Value: no

hop count
Specifies the hop count to be used on automatically tunnelled packets.

Valid Values: 1 - 255

Default Value: 64

cache-size
Specifies the buffer size for the fast forwarding path cache.

number of cache entries
Specifies the number of entries in the fast forwarding path cache.

Valid Values: 64 - 10 000

Default Value: 64

default network-gateway

default gateway

Valid Values: Any valid IPv6 address

Default Value: none

gateway's cost
Specifies the cost associated with this gateway.

Valid Values: 1 - 255

Default Value: 1

default subnet-gateway

for which subnetted network

Valid Values: Any valid IPv6 address

Default Value: none

default gateway

Valid Values: Any valid IPv6 address

Default Value: none

gateway's cost
Specifies the cost associated with this gateway.

Valid Values: 1 - 255

Default Value: 1

internal-ip-address

Valid Values: Any valid IPv6 address

Default Value: None

mld

query-interval

network interface

Valid Values: Any valid network interface number

Default Value: 0

new query interval (in secs)

Valid Values: 1 - 3600

Default Value: 125

response-interval

network interface

Valid Values: Any valid network interface number

Default Value: 0

new response interval (in secs)

Valid Values: 1 - 60

Default Value: 10

robustness-variable

network interface

Valid Values: Any valid network interface number

Default Value: 0

new robustness variable

Valid Values: 2 - 10

Default Value: 2

leave-interval

network interface

Valid Values: Any valid network interface number

Default Value: 0

new leave interval (in secs)

Valid Values: 1 - 60

Default Value: 1

path-mtu-aging-timer
Specifies the aging time in minutes for path MTUs that have been determined using path MTU discovery.

Valid Values: 10 - 60 minutes, where 0 = disable

Default Value: 10

reassembly-size
Specifies the size of the reassembly buffers used for processing the fragment header.

Valid Values: 2048 - 65536

Default Value: 12000

router-id
Specifies the IPv6 address of the router.

Valid Values: Any valid IPv6 address

Default Value: None

routing table-size

number of nets

Valid Values: 64 - 65 535

Default Value: 768

ttl
Specifies the IPv6 time-to-live value.

Valid Values:

Default Value: 64

Update

Use the update command to update the packet filter

Syntax:

update
packet-filter

packet-filter
Use this command to access the Packet-filter 'xx' Config> command prompt from which you can configure packet-filters.

Update Packet-filter Commands


Table 114. Update Packet-filter Configuration Command Summary
 Command   Function 
? (Help) Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help".
 Add   Adds access control. 
 Change   Changes access control. 
 Delete   Deletes access control. 
 Move   Reorders the access control list applied to the packet filter. 
 List    
Exit Returns you to the previous command level. See "Exiting a Lower Level Environment".

Add

Use the update packet-filter add command to add an access control list.

Syntax:

add
access-control type sourceaddr sourceprefix destaddr destprefix

access-control
Adds an access-control item to the access control list.

Type
Specifies whether the access control is inclusive or exclusive.

Valid Values: I or E

Default Value: I

Internet source
Specifies the IPv6 address of the packet source.

Valid Values: Any valid IPv6 address

Default Value: None

Prefix length
Decimal value specifying how many of the leftmost contiguous bits of the IPv6 address comprise the prefix.

Valid Values: 0- 128

Default Value: 128

Internet destination
Specifies the IPv6 address of the packet destination.

Valid Values: Any valid IPv6 address

Default Value: None

Prefix length
Decimal value specifying how many of the leftmost contiguous bits of the IPv6 address comprise the prefix.

Valid Values: 0- 128

Default Value: 128

Starting protocol number
Specifies the starting protocol number for a range of protocol numbers. Enter a value of 0 to select all protocols.

Some common protocol numbers are:

1 for ICMP
6 for TCP
17 for UDP
89 for OSPF
50 for ESP-Encryption
51 for AH-Encryption

Valid Values: 0 to 255

Default Values: 0

Ending protocol number
Specifies the ending protocol number for a range of protocol numbers. Enter a value of 0 to select all protocols.

Some common protocol numbers are:

1 for ICMP
6 for TCP
17 for UDP
89 for OSPF
50 for ESP-Encryption
51 for AH-Encryption

Valid Values: 0 to 255

Default Values: the value specified as the starting protocol number

Starting destination port number
Specifies the starting port number for a range of TCP/UDP destination port numbers. These parameters are valid only if the range of protocol numbers includes 6 (for TCP) or 17 (for UDP). These parameters are ignored for packets in which the protocol number is not 6 or 17.

Some commonly used port numbers are:

21 for FTP
23 for Telnet
25 for SMTP
513 for rlogin
520 for RIP

Valid Values: 0 - 65535

Default Value: 0

Ending destination port number
Specifies the ending port number for a range of TCP/UDP destination port numbers. These parameters are valid only if the range of protocol numbers includes 6 (for TCP) or 17 (for UDP). These parameters are ignored for packets in which the protocol number is not 6 or 17.

Some commonly used port numbers are:

21 for FTP
23 for Telnet
25 for SMTP
513 for rlogin
520 for RIP

Valid Values: 0 - 65535

Default Value: the value specified as the starting destination port number

Starting source port number
Specifies the starting port number for a range of TCP/UDP source port numbers. These parameters are valid only if the range of protocol numbers includes 6 (for TCP) or 17 (for UDP). These parameters are ignored for packets in which the protocol number is not 6 or 17. See the description of starting destination port number for a list of commonly used TCP/UDP port numbers.

Valid Values: 0 - 65535

Default Value: 0

Ending source port number
Specifies the ending port number for a range of TCP/UDP source port numbers. These parameters are valid only if the range of protocol numbers includes 6 (for TCP) or 17 (for UDP). These parameters are ignored for packets in which the protocol number is not 6 or 17. See the description of starting destination port number for a list of commonly used TCP/UDP port numbers.

Valid Values: 0 - 65535

Default Value: the value specified as the starting source port number

Change

Use the update packet-filter change command to change access control.

Syntax:

change
access-control type sourceaddr sourceprefix destaddr destprefix

access-control
Changes an access-control item.

Type
Specifies whether the access control item is inclusive or used to identify packets to be secured..

Valid Values: I or S

Default Value: I

Internet source
Specifies the IPv6 address of the packet source.

Valid Values: Any valid IPv6 address

Default Value: None

Prefix length
Decimal value specifying how many of the leftmost contiguous bits of the IPv6 address comprise the prefix.

Valid Values: 0- 128

Default Value: 128

Internet destination
Specifies the IPv6 address of the packet destination.

Valid Values: Any valid IPv6 address

Default Value: None

Prefix length
Decimal value specifying how many of the leftmost contiguous bits of the IPv6 address comprise the prefix.

Valid Values: 0- 128

Default Value: 128

Delete

Use the update packet-filter delete command to remove an access control item from the access control list.

Syntax:

delete
access-control index#

access-control
Deletes access-control.

index of access control to be deleted
Specifies the index of the access control configuration to be removed.

Valid Values: 1 to the number of access control records defined for this packet filter

Default Value: 1

Move

Use the update packet-filter move command to re-order the access control list applied to the packet-filter.

Syntax:

move
access-control index# after#

access-control

index of control to move

Valid Values: 1 to the number of access control records defined for this packet filter

Default Value: 1

Move record after record number
Specifies target location in the access-control list. You will be asked to verify that this is the action you want to configure.

Valid Values: 1 to the number of access control records defined for this packet filter

Default Value: 0

List

Use the update packet-filter list command to display the access control list configuration.

Syntax:

list
access-controls

Example:

Packet-filter 'x' Config> li acc
Access control is : enabled
List of access control records:
 
1   Type=IS   Source=2001:1::6101/128
              Dest=  2001:1::86/128
              Tid=3
 
2   Type=I    Source=::/0
              Dest=::/0
 
Packet-filter 'x' Config>
 

Accessing the IPv6 Monitoring Environment

Use the following procedure to access the IPv6 monitoring commands. This process gives you access to the IPv6 monitoring process.

  1. At the OPCON prompt, enter talk 5. (For more detail on this command, refer to the chapter entitled "The OPCON Process and Commands" in the Software User's Guide.) For example:
        * talk 5
        +
    

    After you enter the talk 5 command, the GWCON prompt (+) displays on the terminal. If the prompt does not appear when you first enter configuration, press Return again.

  2. At the + prompt, enter the p ipv6 command to get you to the ipv6> prompt.

    Example:

        + p ipv6
        ipv6>
     
    

IPv6 Monitoring Commands

This section describes the IPv6 monitoring commands.

Table 115. IPv6 Monitoring Command Summary
 Command   Function 
? (Help) Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help".
 access-control   Displays access control records. 
 cache   Displays cache entries. 
 counters   Display counters 
 dump routing tables   Dumps the configured routing tables. 
 interface addresses   Displays the addresses defined on the interface. 
 internal address   Displays the specified internal address. 
 mcast   Displays a list of registered multicast addresses. 
 mld   Displays MLD counters or parameters. 
 reset   Resets the IPv6 interface. 
 route    
 sizes   Displays buffer sizes. 
 sniffer   Sets various trace options. 
 static routes   Displays static routes. 
 packet-filter   Displays configured packet filters. 
 path-mtu    
 ping6   Activates Ping. 
 traceroute6   Dynamically traces a route. 
 tunnels   Displays configured tunnels. 
Exit Returns you to the previous command level. See "Exiting a Lower Level Environment".

Access-control

Use the access-control command to monitor configured access control records.

Syntax:

access-control

Cache

Use the cache command to display

Syntax:

cache

Example:

IPv6>cache
Destination                                 Usage        Next hop
 

Counters

Use the counters command to display the status of counters.

Syntax:

counters

Example:

IPv6>counters
Routing errors
Count  Type
   0   Routing table overflow
   0   Net unreachable
   0   Bad subnet number
   0   Bad net number
   0   Unhandled broadcast
   0   Unhandled anycast
   0   Unhandled directed broadcast
   0   Attempted forward of LL broadcast
   0   
   0   None
 
Packets discarded through filter  0
IP multicasts accepted:           0
 
IP input packet overflows
    Net   Count
   ATM/0  0
 NHRPL/0  0
    TKR/0  0
   TKR/1  0
    FR/0  0
   PPP/0  0
  IP64/0  0

Dump routing tables

Use the dump command to display the configured routing tables.

Syntax:

dump

Example:

IPv6>dump
Type   Dest net/Prefix            Cost     Age       Next hop(s)    
 
Stat*  1:2:3:4:5:6:7:8/128               100 30        IP64/0          
 
IPv6 Routing table size: 768 nets (79872 bytes), 1 nets known
                      0 nets hidden, 0 nets deleted, 0 nets inactive
                      0 routes used internally, 767 routes free

Interface addresses

Use the interface command to display addresses configured on the interface.

Syntax:

interface

Example:

IPv6>interface
 
                         IPV6  IPV6    ICMP    IPV6
Interface    Net:Status  State MTU     redir   Address/Prefixlen
   Eth/0      0 : DWN    DWN   1500    Enabled 2003:6:14:1::610/64
   Eth/1      1 : DWN    DWN   1500    Enabled 2003:7:6:1::610/64
  IP64/0      3 : UP     UP    2048    Enabled FE80::14FF:FE80:3/64
 

Internal address

Use the internal command to display the specified internal address.

Syntax:

internal

Mcast

Use the mcast command to display configured multicast addresses.

Syntax:

mcast

Example:

IPv6>mcast
List of IPV6 registered multicast addresses 
 
 
 
 
 Interface: Eth/0: 
 
      Address/Ref_Cnt
      FF02::1/1
      FF02::2/1
      FF02::1:FF00:610/1
      FF02::1:FF02:6200/1
      FF02::9/1

Mld

Use the mld command to display configured.

Syntax:

mld
counters
parameters

Example:

IPv6>mld counters
Net      Querier      Polls Sent      Polls Rcvd      Reports Rcvd
---      -------      ----------      ----------      ------------
 
IPv6>mld parameters
Net   Robustness     Query Interval      Response Interval      Leave Query Interval
      Variable       (secs)                (secs)                   (secs)
---   ----------     --------------      -----------------      --------------------
 
IPv6>

Reset

Use the reset command to dynamically reset the IPv6 interface.

Syntax:

reset
ipv6

Example:

IPv6>reset ipv6
 

Route

Use the route command to show the route to the IPv6 address.

Syntax:

route
address

Example:

IPv6>route 6::9
IPv6>

Sizes

Use the sizes command to display configured buffer sizes.

Syntax:

sizes

Example:

IPv6>sizes
      Routing table size:             768
        Table entries used:             3
        Reassembly buffer size:         12000
        Largest reassembled pkt:        0
        Size of routing cache:          64
        # cache entries in use:         0
 
IPv6>

Sniffer

Use the sniffer command to set various trace options.

Syntax:

sniffer
trace command

Choose the trace command from this list:

1
List current traces

2
Trace source address

3
Trace destination address

4
Trace protocol

5
Trace TCP source port

6
Trace TCP destination port

7
Trace UDP source port

8
Trace UDP destination port

9
Clear trace

10
Exit

Static routes

Use the static command to display configured static routes.

Syntax:

static

Example:

IPv6>static
Net/Mask_len                           Cost  Next hop
1234::1223/128    100    1234:0:9::8 PPP/0
                                232    1234:0:9:8:8:7:6:8 PPP/0
8::9                                     128  N/A   filter
 
IPv6>

Packet-filter

Use the packet-filter command to display a summary of configured packet filters.

Syntax:

packet-filter

Example:

IPv6>pac
Name               Dir  Intf  State  #Access-Controls
packet01           Out  0     On     0
pack01             Out  5     On     2
IPv6>

Path-mtu

Use the path-mtu command to show the paths that have been identified as having an MTU that is less than the size of a packet sent along that path.

Syntax:

path-mtu

Example:


Ping6

Use the ping6 command to ping an IPv6 address.

Syntax:

ping6

Example:

IPv6>ping
Destination IPv6 address [::]? 8::9
Source IPv6 Address [1::8]? 
Ping data size in bytes [56]? 
Ping TTL [64]? 
Ping rate in seconds [1]? 
PING6 1::8 -> 8::9: 56 data bytes, ttl=64, every 1 sec.
 
----8::9 PING6 Statistics----
36 packets transmitted, 36 packets received

Destination IPv6 address

Valid Values: Any valid IPv6 address

Default Value: None

Source IPv6 address

Valid Values: Any valid IPv6 address

Default Value: None

Ping data size in bytes

Valid Values: 0 to size of global buffer

Default Value: 56

Ping ttl
Specifies the time-to-live for the ping.

Valid Values: 1 - 255

Default Value: 64

Ping rate in seconds
Specifies the ping frequency.

Valid Values: 1 - 60

Default Value: 1

Traceroute6

Use the traceroute6 command to dynamically trace a route.

Syntax:

traceroute6 ...

Example:

IPv6>traceroute6
Destination IPv6 address []? 7::8
Source IPv6 address []? 6::9
Data size in bytes [56]? 
Number of probes per hop [3]? 
Wait time between retries in seconds [3]? 
Maximum TTL [32]? 
TRACEROUTE6 7::8: 56 data bytes
 1 * * * *
IPv6>

Destination IPv6 address

Valid Values: Any valid IPv6 address

Default Value: None

Source IPv6 address

Valid Values: Any valid IPv6 address

Default Value: None

Data size in bytes

Valid Values: 0 to size of global buffer

Default Value: 56

Number of probes per hop

Valid Values: 1 - 10

Default Value: 3

Wait time between retries in seconds

Valid Values: 1 - 60

Default Value: 3

Maximum ttl

Valid Values: 1 - 255

Default Value: 32

Tunnels

Use the tunnels command to display configured tunnels.

Syntax:

tunnels

Example:

IPv6>tunnels
                   Configured Tunnels
Tun#  Remote Endpoint  Local Endpoint  Frag Allowed  TTL  MTU  Net#  IPv6 Address/Prefix
 1    1.2.3.4          2.3.4.5              No       100   2048    7   1:2:3:4:5:6:7:8/128
 
                   Automatic Tunnels
Tun#  Remote Endpoint  Frag Allowed   TTL    MTU 
IPv6>

IPv6 Dynamic Reconfiguration Support

This section describes dynamic reconfiguration (DR) as it affects Talk 6 and Talk 5 commands.

CONFIG (Talk 6) Delete Interface

IP Version 6 (IPv6) supports the CONFIG (Talk 6) delete interface command with no restrictions.

GWCON (Talk 5) Activate Interface

IPv6 supports the GWCON (Talk 5) activate interface command with the following consideration:

If IPv6 was not configured before, you need to reboot.

All IPv6 interface-specific commands are supported by the GWCON (Talk 5) activate interface command.

GWCON (Talk 5) Reset Interface

IPv6 supports the GWCON (Talk 5) reset interface command with the following considerations:

All IPv6 interface-specific commands are supported by the GWCON (Talk 5) reset interface command.

GWCON (Talk 5) Component Reset Commands

IPv6 supports the following IPv6-specific GWCON (Talk 5) reset commands:

GWCON, Protocol IPv6, Reset IPv6 Command

Description:
Rereads the SRAM and reinitializes IPv6. Also resets RIP6, NDP6, and PIM6.

Network Effect:
None.

Limitations:
None.

All IPv6 configuration changes are automatically activated except the following:
Commands whose changes are not activated by the GWCON, protocol ipv6, reset ipv6 command
CONFIG, protocol ipv6, set routing table-size
CONFIG, protocol ipv6, set reassembly-size
CONFIG, protocol ipv6, set cache-size

CONFIG (Talk 6) Immediate Change Commands

IPv6 supports the following CONFIG commands that immediately change the operational state of the device. These changes are saved and are preserved if the device is reloaded, restarted, or you execute a dynamically reconfigurable command.
Commands
CONFIG, protocol ipv6, add route
CONFIG, protocol ipv6, delete route
CONFIG, protocol ipv6, change route
CONFIG, protocol ipv6, enable icmp-redirect
CONFIG, protocol ipv6, disable icmp-redirect
CONFIG, protocol ipv6, set access-control
CONFIG, protocol ipv6, set ttl
CONFIG, protocol ipv6, set path-mtu-aging-timer


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]